﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class SpriteManager : MonoBehaviour
{
    public static SpriteManager Instance;

    public List<Sprite> cellSpriteList;
    public List<Sprite> gridBgSpriteList;

    private void Awake()
    {
        Instance = this;

    }

    private void Start()
    {

    }

    //public Sprite GetSprite(SpriteType spriteType, ItemType _itemType, int number = 0)
    //{
    //    foreach (var image in imageArray)
    //    {
    //        ItemSprite itemSprite = image.GetComponent<ItemSprite>();
    //        if (itemSprite.spriteType == spriteType && itemSprite.itemType == _itemType && itemSprite.number == number)
    //        {
    //            return image.sprite;
    //        }
    //    }
    //    return null;
    //}

}
